package org.fxcontainer.controls
{
	import mx.containers.Box;
	import mx.core.Application;
	
	import org.fxcontainer.controller.ApplicationController;
	import org.fxcontainer.utils.BrowserManagerHelper;
	
	/**
	 * Base framework container. <br/>
	 * Should hold all application components, also instantiates required classes. 
	 * @author Izzet_Mustafayev
	 */
	public final class FxContainer extends Box
	{
		
		/**
		 * Container constructor.
		 */
		public function FxContainer()
		{
			super();
			this.percentWidth = 100;
			this.percentHeight = 100;
			//create application controller instance
			new ApplicationController();
			BrowserManagerHelper.setTitle(Application.application.label);
		}
	}
}